<div id="addGovPersonModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-body">
        <h3 class="m-t-none m-b ">添加人口</h3>
        <div class="ibox-content">
          <div>
            <div>
              <div class="form-group row">
                <label class="col-sm-2 col-form-label">人口类型</label>
                <div class="col-sm-4">
                  <select class="custom-select" :disabled="addGovPersonInfo.personTypeIs == 'addGovPerson'?false:true"
                    v-model="addGovPersonInfo.personType">
                    <option selected disabled value="">必填，请选择人口类型</option>
                    <option value="1001">户籍人口</option>
                    <option value="2002">常住人口</option>
                    <option value="3003">流动人口</option>
                    <option value="4004">外出人口</option>
                    <option value="5005">空挂人口</option>
                    <option value="6006">未落户人口</option>
                    <option value="7007">境外人口</option>
                    <option value="8008">特殊人员</option>
                  </select>
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">证件类型</label>
                <div class="col-sm-4">
                  <select class="custom-select" v-model="addGovPersonInfo.idType">
                    <option selected disabled value="">必填，请选择证件类型</option>
                    <option value="1">身份证</option>
                  </select>
                </div>
                <label class="col-sm-2 col-form-label">证件号码</label>
                <div class="col-sm-4">
                  <input v-model="addGovPersonInfo.idCard" type="text" placeholder="必填，请填写证件号码" class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">姓名</label>
                <div class="col-sm-4">
                  <input v-model="addGovPersonInfo.personName" type="text" placeholder="必填，请填写姓名" class="form-control">
                </div>
                <label class="col-sm-2 col-form-label">电话</label>
                <div class="col-sm-4">
                  <input v-model="addGovPersonInfo.personTel" type="text" placeholder="必填，请填写电话" class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">性别</label>
                <div class="col-sm-4">
                  <select class="custom-select" v-model="addGovPersonInfo.personSex">
                    <option selected disabled value="">必填，请选择性别</option>
                    <option value="0">女</option>
                    <option value="1">男</option>
                  </select>
                </div>
                <label class="col-sm-2 col-form-label">曾用名</label>
                <div class="col-sm-4">
                  <input v-model="addGovPersonInfo.prePersonName" type="text" placeholder="必填，请填写曾用名"
                    class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">生日</label>
                <div class="col-sm-4">
                  <input v-model="addGovPersonInfo.birthday" type="text" placeholder="必填，请填写生日"
                    class="form-control addBirthday">
                </div>
                <label class="col-sm-2 col-form-label">民族</label>
                <div class="col-sm-4">
                  <select class="custom-select" v-model="addGovPersonInfo.nation">
                    <option selected disabled value="">必填，请选择民族</option>
                    <option v-for="(item,index) in addGovPersonInfo.nationData" :key="index"
                      :value="item.name">{{item.name}}</option>
                  </select>
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">籍贯</label>
                <div class="col-sm-4">
                  <input v-model="addGovPersonInfo.nativePlace" type="text" placeholder="选填，请填写籍贯" class="form-control">
                </div>
                <label class="col-sm-2 col-form-label">政治面貌</label>
                <div class="col-sm-4">
                  <select class="custom-select" v-model="addGovPersonInfo.politicalOutlook">
                    <option selected disabled value="">必填，请选择政治面貌</option>
                    <option v-for="(item,index) in addGovPersonInfo.politicalOutlooks" :key="index"
                      :value="item.statusCd">{{item.name}}</option>
                  </select>
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">婚姻状况</label>
                <div class="col-sm-4">
                  <select class="custom-select" v-model="addGovPersonInfo.maritalStatus">
                    <option selected disabled value="">必填，请选择婚姻状况</option>
                    <option value="Y">已婚</option>
                    <option value="N">未婚</option>
                  </select>
                </div>
                <label class="col-sm-2 col-form-label">宗教信仰</label>
                <div class="col-sm-4">
                  <input v-model="addGovPersonInfo.religiousBelief" type="text" placeholder="必填，请填写宗教信仰"
                    class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-2 col-form-label">备注</label>
                <div class="col-sm-10">
                  <textarea placeholder="必填，请填写备注" class="form-control" v-model="addGovPersonInfo.ramark"></textarea>
                </div>
              </div>

              <div class="ibox-content">
                <button class="btn btn-primary float-right" type="button" v-on:click="saveGovPersonInfo()"><i
                    class="fa fa-check"></i>&nbsp;保存</button>
                <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                  data-dismiss="modal">取消</button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>